package com.factory.rental.controller;


import com.factory.rental.common.Result;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/health")
public class HealthController {
    @GetMapping("/check")
    public Result<String> health() {
        return Result.success("Healthy");
    }
}